import request from '@/utils/request'
//列表
export  function list(query){
    return request({
        url:"/auth/stationMsg/queryList",
        method: 'post',
        data:query
    })
}
//新增
export  function add(query){
    return request({
        url:"/auth/stationMsg/addStationMsg",
        method:"post",
        data:query
    })
}
//查看
export  function detail(id){
    return request({
        url:"/auth/stationMsg/detail/"+id,
        method:"post"
    })
}

//删除
export  function del(id){
    return request({
        url:"/auth/stationMsg/delStationMsg/"+id,
        method:"post"
    })
}

//批量删除
export function batchDel(data) {
    return request({
        url: "/auth/stationMsg/batchDel",
        method: "post",
        data
    })
}

// 查询结构
export function getOrganization(){
    return request({
        url: "/auth/org/orgAccListTree",
        method: "post"
    })
}